home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 January / Disc 3 / Amethyst.iso / live / etc / makedev.d / midi < prev    next >
Encoding:
Text File  |  2002-11-06  |  210 b   |  8 lines

  1. $numdevs{$name} = 192;    $stddevs{$name} = "^([a-z]*[01])\$";
  2.  
  3. $generate{$name} = sub {
  4.     my @names = ("midi", "rmidi", "smpte");
  5.  
  6.     &$MkNod ("system", sprintf("%s%d", $names[$i/64], $i%64), "b", 35, $i);
  7. };
  8.